import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);

// 引入小仓库
import home from "./home";
import search from "./search";

export default new Vuex.Store({
  state: {},
  mutations: {},
  actions: {},
  modules: {
    // 声明小仓库
    home,
    search,
  },
  getters: {},
});
